package com.practice.designMode.observer;

public class WeatherUpdateEvent extends BaseEvent{

    private final String info;

    public WeatherUpdateEvent(String info){
        this.info = info;
    }

    @Override
    public Object source() {
        return info;
    }

    @Override
    public EventType type() {
        return EventType.WEATHER_UPDATE;
    }
}
